import App from './App'
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
import store from './store'
import JSEncrypt from '@/config/jsencrypt-uniapp.js'
import socket from '@/config/plus-websocket.js'

 // // #ifdef APP-PLUS
 //    Object.assign(uni, socket)
 // // #endif
Vue.use(uView)
Vue.prototype.$jsencrypt =JSEncrypt

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App,
   store
})

// 引入请求封装，将app参数传递到配置中
require('@/config/request.js')(app)

app.$mount()